package com.jsrj.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jsrj.mapper.BackAlipayMiniDetailsMapper;
import com.jsrj.domain.BackAlipayMiniDetails;
import com.jsrj.service.IBackAlipayMiniDetailsService;

/**
 * 支付宝小程序审核信息Service业务层处理
 * 
 * @author 崔宏江
 * @date 2024-07-02
 */
@Service
public class BackAlipayMiniDetailsServiceImpl implements IBackAlipayMiniDetailsService 
{
    @Autowired
    private BackAlipayMiniDetailsMapper backAlipayMiniDetailsMapper;

    /**
     * 查询支付宝小程序审核信息
     * 
     * @param id 支付宝小程序审核信息主键
     * @return 支付宝小程序审核信息
     */
    @Override
    public BackAlipayMiniDetails selectBackAlipayMiniDetailsById(Long id)
    {
        return backAlipayMiniDetailsMapper.selectBackAlipayMiniDetailsById(id);
    }

    /**
     * 查询支付宝小程序审核信息列表
     * 
     * @param backAlipayMiniDetails 支付宝小程序审核信息
     * @return 支付宝小程序审核信息
     */
    @Override
    public List<BackAlipayMiniDetails> selectBackAlipayMiniDetailsList(BackAlipayMiniDetails backAlipayMiniDetails)
    {
        return backAlipayMiniDetailsMapper.selectBackAlipayMiniDetailsList(backAlipayMiniDetails);
    }

    /**
     * 新增支付宝小程序审核信息
     * 
     * @param backAlipayMiniDetails 支付宝小程序审核信息
     * @return 结果
     */
    @Override
    public int insertBackAlipayMiniDetails(BackAlipayMiniDetails backAlipayMiniDetails)
    {
        return backAlipayMiniDetailsMapper.insertBackAlipayMiniDetails(backAlipayMiniDetails);
    }

    /**
     * 修改支付宝小程序审核信息
     * 
     * @param backAlipayMiniDetails 支付宝小程序审核信息
     * @return 结果
     */
    @Override
    public int updateBackAlipayMiniDetails(BackAlipayMiniDetails backAlipayMiniDetails)
    {
        return backAlipayMiniDetailsMapper.updateBackAlipayMiniDetails(backAlipayMiniDetails);
    }

    /**
     * 批量删除支付宝小程序审核信息
     * 
     * @param ids 需要删除的支付宝小程序审核信息主键
     * @return 结果
     */
    @Override
    public int deleteBackAlipayMiniDetailsByIds(Long[] ids)
    {
        return backAlipayMiniDetailsMapper.deleteBackAlipayMiniDetailsByIds(ids);
    }

    /**
     * 删除支付宝小程序审核信息信息
     * 
     * @param id 支付宝小程序审核信息主键
     * @return 结果
     */
    @Override
    public int deleteBackAlipayMiniDetailsById(Long id)
    {
        return backAlipayMiniDetailsMapper.deleteBackAlipayMiniDetailsById(id);
    }
}
